module.exports = {
  title: "mosowe@vuepress2",
  description: "mosowe的个人积累", // 网站的描述，它将会以 <meta> 标签渲染到当前页面的 HTML 中。
  head: [
    ['link', {
      rel: 'icon',
      href: 'https://static-c3d2938e-a10f-4b38-b1d5-791a37326313.bspapp.com/mosoweLogo.png'
    }] // 需要被注入到当前页面的 HTML <head> 中的标签
  ],
  base: "/dist/",
  themeConfig: {
    logo: 'https://static-c3d2938e-a10f-4b38-b1d5-791a37326313.bspapp.com/mosoweLogo.png',
    lastUpdated: "更新时间", // string | boolean
    nav: [
      { text: "CSDN博客", link: "https://blog.csdn.net/skyblacktoday" },
      { text: "码云", link: "https://gitee.com/mosowe" },
      {
        text: "更多",
        items: [
          {
            text: "mosowejs",
            link: "",
          },
          {
            text: "elementPlusPro",
            link: "",
          },
          {
            text: "elementPro",
            link: "",
          },
          {
            text: "uniappPlugins",
            link: "",
          },
        ],
      },
    ],
    sidebar: require("../../utils/sidebar"),
    smoothScroll: true
  },
  plugins: [
    '@vuepress/back-to-top',
    [
      'vuepress-plugin-container',
      {
        type: 'demo',
        before: (info) => `
          <ClientOnly>
            <codeShow>
              <template #examples>
                ${info}
              </template>
          `,
        after: () => `</codeShow></ClientOnly>`
      },
    ]
  ], // 配置插件
};
